<?php
$navde = isset($navde) ? $navde : '';
$navList = array(
    'index'=>array('title'=>'基础配置', 'url'=>SYS_URL_PATH('admin_system_index')),
    'sysdb'=>array('title'=>'数据管理', 'url'=>SYS_URL_PATH('admin_system_sysdb')),
    'still'=>array('title'=>'静态管理', 'url'=>SYS_URL_PATH('admin_system_still')),
    'clear'=>array('title'=>'文件清理', 'url'=>SYS_URL_PATH('admin_system_clear')),
    'logs'=>array('title'=>'程序日志', 'url'=>SYS_URL_PATH('admin_system_logs')),
    'dbdo'=>array('title'=>'SQL命令', 'url'=>SYS_URL_PATH('admin_system_dbdo')),
);
?>
<div class="lab_box2" style="max-width:1000px">
    <?php
    foreach($navList as $k=>$v){
        $dbDisplayNone = in_array('admin_system_'.$k, $powerInfo['classfun']) || $userLevel == 1 ? '' : 'userLevelNone';
        if($k == $navde){
            echo '<a href="'.$v['url'].'" class="lab_base2 '.$dbDisplayNone.' act">'.$v['title'].'<span class="lab_act2"></span></a>';
        }else{
            echo '<a href="'.$v['url'].'" class="lab_base2 '.$dbDisplayNone.'">'.$v['title'].'</a>';
        }
    }
    ?>
</div>